package edu.iul.daam.rap.view.rss;


public class ImageUnit {

	private String title;
	private String link;
	private String description;
	private String date;

	public ImageUnit(){
		title = "";
		link = "";
		description = "";
		date = "";
	}

	public ImageUnit(String title, String link, String description, String date){
		this.title = title;
		this.link = link;
		this.description = description;
		this.date = date;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title += title;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link += link;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description += description;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date += date;
	}

	public String toString(){
		return new String("Image: \n"+"title="+title+"\nlink="+link+"\ndescription="+description+"\ndate="+date+"\n");
	}


}
